home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 21 / CU Amiga Magazine's Super CD-ROM 21 (1998)(EMAP Images)(GB)[!][issue 1998-04].iso / CUCD / Programming / Python-1.4 / Python1.4_Source / Objects / protos / classobject_protos1.h < prev    next >
Text File  |  1996-12-15  |  2KB  |  38 lines

  1. /* Prototypes for functions defined in Objects/classobject.c part 1*/
  2.  
  3. static void class_dealloc(PyClassObject * op);
  4. static PyObject * class_lookup(PyClassObject * , PyObject * , PyClassObject ** );
  5. static PyObject * class_getattr(register PyClassObject * op,PyObject * name);
  6. static int class_setattr(PyClassObject * op,PyObject * name,PyObject * v);
  7. static PyObject * class_repr(PyClassObject * op);
  8. static void instance_dealloc(register PyInstanceObject * inst);
  9. static PyObject * instance_getattr1(PyInstanceObject * , PyObject * );
  10. static PyObject * instance_getattr(register PyInstanceObject * inst,PyObject * name);
  11. static int instance_setattr1(PyInstanceObject * inst,PyObject * name,PyObject * v);
  12. static int instance_setattr(PyInstanceObject * inst,PyObject * name,PyObject * v);
  13. static PyObject * instance_repr(PyInstanceObject * inst);
  14. static PyObject * instance_compare1(PyObject * inst,PyObject * other);
  15. static int instance_compare(PyObject * inst,PyObject * other);
  16. static long instance_hash(PyInstanceObject * inst);
  17. static int instance_length(PyInstanceObject * inst);
  18. static PyObject * instance_subscript(PyInstanceObject * inst,PyObject * key);
  19. static int instance_ass_subscript(PyInstanceObject * inst,PyObject * key,PyObject * value);
  20. static PyObject * instance_item(PyInstanceObject * inst,int i);
  21. static PyObject * instance_slice(PyInstanceObject * inst,int i,int j);
  22. static int instance_ass_item(PyInstanceObject * inst,int i,PyObject * item);
  23. static int instance_ass_slice(PyInstanceObject * inst,int i,int j,PyObject * value);
  24. static PyObject * generic_unary_op(PyInstanceObject * self,PyObject * methodname);
  25. static int halfbinop(PyObject * , PyObject * , unsigned char * , PyObject ** , PyObject * (* )(PyObject * , PyObject * ), int );
  26. static int instance_coerce(PyObject ** pv,PyObject ** pw);
  27. static PyObject * instance_neg(PyInstanceObject * self);
  28. static PyObject * instance_pos(PyInstanceObject * self);
  29. static PyObject * instance_abs(PyInstanceObject * self);
  30. static int instance_nonzero(PyInstanceObject * self);
  31. static PyObject * instance_invert(PyInstanceObject * self);
  32. static PyObject * instance_int(PyInstanceObject * self);
  33. static PyObject * instance_long(PyInstanceObject * self);
  34. static PyObject * instance_float(PyInstanceObject * self);
  35. static PyObject * instance_oct(PyInstanceObject * self);
  36. static PyObject * instance_hex(PyInstanceObject * self);
  37. static PyObject * instance_pow(PyObject * v,PyObject * w,PyObject * z);
  38.